package org.ruizhijie.config;

import java.util.Properties;

public class SystemConfig {
	public static void init(Properties pro) {
		inPort = Integer.parseInt(pro.get("inPort") + "");
		outPort = Integer.parseInt(pro.get("outPort") + "");
		serverPort = Integer.parseInt(pro.get("serverPort") + "");
		
		inHost = pro.getProperty("inHost");
		outHost = pro.getProperty("outHost");
		serverHost = pro.getProperty("serverHost");
	}
	public static int inPort;
	public static int outPort;
	public static int serverPort;
	
	public static String inHost;
	public static String outHost;
	public static String serverHost;
}
